package com.cn.longdistancebusstation.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by mal on 2018/2/4.
 */

public class ConfirmResult {

    @SerializedName("head")
    private Head mHead;
    @SerializedName("body")
    private Body mBody;

    public Head getHead() {
        return mHead;
    }

    public void setHead(Head head) {
        mHead = head;
    }

    public Body getBody() {
        return mBody;
    }

    public void setBody(Body body) {
        mBody = body;
    }

    public class  Head {
        private String msg;
        @SerializedName("success")
        private Boolean isSuccess;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public Boolean getSuccess() {
            return isSuccess;
        }

        public void setSuccess(Boolean success) {
            isSuccess = success;
        }
    }

    public class Body{
        @SerializedName("bookNum")
        private String mOrderNo;
        @SerializedName("bookId")
        private String mOrderId;

        public String getOrderNo() {
            return mOrderNo;
        }

        public void setOrderNo(String orderNo) {
            mOrderNo = orderNo;
        }

        public String getOrderId() {
            return mOrderId;
        }

        public void setOrderId(String orderId) {
            mOrderId = orderId;
        }
    }

}
